package com.example.his.api.db.dao;

import com.example.his.api.db.pojo.GoodsEntity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

/**
 * @author gaoaoy
 * @description 针对表【tb_goods(体检套餐表)】的数据库操作Mapper
 * @createDate 2024-07-13 22:28:28
 * @Entity com.example.his.api.db.pojo.GoodsEntity
 */
public interface GoodsDao {

    public ArrayList<HashMap> searchByPage(Map param);

    public long searchCount(Map param);

    public int insert(GoodsEntity entity);

    public int update(GoodsEntity entity);

   public HashMap searchById(Map param);

   public GoodsEntity searchEntityById(int id);

   public int updateCheckup(Map param);

    public int updateStatus(Map param);

    public ArrayList<String> searchImageByIds(Integer[] ids);

    public int deleteByIds(Integer[] ids);
}




